{% load crispy_forms_tags %}

{% csrf_token %}
<div class="form-row">
    <div class="form-group col-md-4 mb-0">
        {{ form.code | as_crispy_field }}
    </div>
    <div class="form-group col-md-4 mb-0">
        {{ form.name | as_crispy_field }}
    </div>
    <div class="form-group col-md-4 mb-0">
        {{ form.slug | as_crispy_field }}
    </div>
</div>
{{ form.remark | as_crispy_field }}